public class User {
    /**
     * @author zj
     * 用户类
     */
    private String name;
    private String sid;
    private String username;
    private String password;
    private Boolean isClosed;

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", sid='" + sid + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", isClosed=" + isClosed +
                '}';
    }

    public User(String name, String sid, String username, String password, Boolean isClosed) {
        this.name = name;
        this.sid = sid;
        this.username = username;
        this.password = password;
        this.isClosed = isClosed;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getClosed() {
        return isClosed;
    }

    public void setClosed(Boolean closed) {
        isClosed = closed;
    }
}
